* frame.el (set-frame-configuration): Don't try to set a frame's
authorJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 21:24:11 +0000 (21:24 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 21:24:11 +0000 (21:24 +0000)
minibuffer.  This parameter can't be changed, so that would signal
an error.

lisp/frame.el

index b75535172406c3e76163e51282f8f4d142bf0aff..5902e262de7570b6dc57e7126904ba2622164fcd 100644 (file)
@@ -351,7 +351,14 @@ configuration, and other parameters set as specified in CONFIGURATION."
               (let ((parameters (assq frame config-alist)))
                 (if parameters
                     (progn
-                      (modify-frame-parameters frame (nth 1 parameters))
+                      (modify-frame-parameters
+                       frame
+                       ;; Since we can't set a frame's minibuffer status, 
+                       ;; we might as well omit the parameter altogether.
+                       (let* ((parms (nth 1 parameters))
+                              (mini (assq 'minibuffer parms)))
+                         (if mini (setq parms (delq mini parms)))
+                         parms))
                       (set-window-configuration (nth 2 parameters)))
                   (setq frames-to-delete (cons frame frames-to-delete))))))
            (frame-list))